package com.hkts.naturalgas.performance.entity;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import javax.persistence.Transient;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yck
 * @since 2020-12-28
 */
public class HkAssessmentScore extends Model<HkAssessmentScore> {

    private static final long serialVersionUID=1L;

    private String id;
    private String approvalUserId;
    private String hontUserId;
    private String indexDescribe;
    private String indexId;
    private String indexName;
    private String processInstanceId;
    private String roleLevel;
    private Float score;
    private String scoreState;
    private LocalDateTime createTime;
    private String indexComment;
    private Integer indexFrequency;
    private String isCurrentAssessment;
    private String numId;
    private String txtId;
    private String scoreType;
    @Transient
    @TableField(exist=false)
    private String taskId;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getScoreType() {
        return scoreType;
    }

    public void setScoreType(String scoreType) {
        this.scoreType = scoreType;
    }

    public String getId(){
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getApprovalUserId(){
        return approvalUserId;
    }

    public void setApprovalUserId(String approvalUserId) {
        this.approvalUserId = approvalUserId;
    }

    public String getHontUserId(){
        return hontUserId;
    }

    public void setHontUserId(String hontUserId) {
        this.hontUserId = hontUserId;
    }

    public String getIndexDescribe(){
        return indexDescribe;
    }

    public void setIndexDescribe(String indexDescribe) {
        this.indexDescribe = indexDescribe;
    }

    public String getIndexId(){
        return indexId;
    }

    public void setIndexId(String indexId) {
        this.indexId = indexId;
    }

    public String getIndexName(){
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getProcessInstanceId(){
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getRoleLevel(){
        return roleLevel;
    }

    public void setRoleLevel(String roleLevel) {
        this.roleLevel = roleLevel;
    }

    public Float getScore(){
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    public String getScoreState(){
        return scoreState;
    }

    public void setScoreState(String scoreState) {
        this.scoreState = scoreState;
    }

    public LocalDateTime getCreateTime(){
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getIndexComment(){
        return indexComment;
    }

    public void setIndexComment(String indexComment) {
        this.indexComment = indexComment;
    }

    public Integer getIndexFrequency(){
        return indexFrequency;
    }

    public void setIndexFrequency(Integer indexFrequency) {
        this.indexFrequency = indexFrequency;
    }

    public String getIsCurrentAssessment(){
        return isCurrentAssessment;
    }

    public void setIsCurrentAssessment(String isCurrentAssessment) {
        this.isCurrentAssessment = isCurrentAssessment;
    }

    public String getNumId(){
        return numId;
    }

    public void setNumId(String numId) {
        this.numId = numId;
    }

    public String getTxtId(){
        return txtId;
    }

    public void setTxtId(String txtId) {
        this.txtId = txtId;
    }

    public static final String ID ="id";

    public static final String APPROVAL_USER_ID ="approval_user_id";

    public static final String HONT_USER_ID ="hont_user_id";

    public static final String INDEX_DESCRIBE ="index_describe";

    public static final String INDEX_ID ="index_id";

    public static final String INDEX_NAME ="index_name";

    public static final String PROCESS_INSTANCE_ID ="process_instance_id";

    public static final String ROLE_LEVEL ="role_level";

    public static final String SCORE ="score";

    public static final String SCORE_STATE ="score_state";

    public static final String CREATE_TIME ="create_time";

    public static final String INDEX_COMMENT ="index_comment";

    public static final String INDEX_FREQUENCY ="index_frequency";

    public static final String IS_CURRENT_ASSESSMENT ="is_current_assessment";

    public static final String NUM_ID ="num_id";

    public static final String TXT_ID ="txt_id";

    @Override
    protected Serializable pkVal(){
        return this.id;
    }

    @Override
    public String toString() {
        return "HkAssessmentScore{" +
                ", id=" + id +
                ", approvalUserId=" + approvalUserId +
                ", hontUserId=" + hontUserId +
                ", indexDescribe=" + indexDescribe +
                ", indexId=" + indexId +
                ", indexName=" + indexName +
                ", processInstanceId=" + processInstanceId +
                ", roleLevel=" + roleLevel +
                ", score=" + score +
                ", scoreState=" + scoreState +
                ", createTime=" + createTime +
                ", indexComment=" + indexComment +
                ", indexFrequency=" + indexFrequency +
                ", isCurrentAssessment=" + isCurrentAssessment +
                ", numId=" + numId +
                ", txtId=" + txtId +
                "}";
    }
}
